﻿<%@ Page Title="" Language="C#" MasterPageFile="~/source/masterpage/Base.Master" AutoEventWireup="true" CodeBehind="EmployeeDetails.aspx.cs" Inherits="QLK.Web.Employees" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <link href="css/common.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .style3
        {
            width: 141px;
        }
    </style>


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    

    <table cellpadding="3" cellspacing="3" class="style1">
        <tr>
            <td colspan="2">
                <b>EMPLOYEES</b></td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label ID="lblWarning" runat="server" CssClass = "msg" 
                    style="font-size: medium"></asp:Label></td>
        </tr>
        <tr>
            <td class="style3">
                LastName:&nbsp;&nbsp;</td>
            <td>
               <asp:TextBox ID="txtLastName" runat="server" CssClass="commonTexbox" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtLastName" ErrorMessage="**Can not null! " ValidationGroup="CheckIsNull"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td class="style3">
                FirstName:&nbsp;&nbsp;</td>
            <td>
               <asp:TextBox ID="txtFirstName" runat="server" CssClass="commonTexbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtFirstName" ErrorMessage="**Can not null! " 
                    ValidationGroup="CheckIsNull"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td class="style3">
               Gender:&nbsp;&nbsp;</td>
            <td>
                 <asp:RadioButtonList ID="rdoGender" runat="server" RepeatDirection="Horizontal">
                    <asp:ListItem>Male</asp:ListItem>
                    <asp:ListItem>Female</asp:ListItem>
                </asp:RadioButtonList></td>
        </tr>
        <tr>
            <td class="style3">
              IDCard:&nbsp;&nbsp;</td>
            <td>
               <asp:TextBox ID="txtIDCard" runat="server" CssClass="commonTexbox"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtIDCard" ErrorMessage="**Can not null! " 
                    ValidationGroup="CheckIsNull"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td class="style3">
                 Phone number:&nbsp;&nbsp;</td>
            <td>
                <asp:TextBox ID="txtPhone" runat="server" CssClass="commonTexbox"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="style3">
                 <asp:LinkButton ID="btnViewEmp" runat="server" ForeColor="Lime" 
                     onclick="btnViewEmp_Click">View Employees</asp:LinkButton>
            </td>
            <td>
                 <asp:Button ID="btnSaveEmp" runat="server"  Text="Save Employee" 
                    CssClass="commonButton" ValidationGroup="CheckIsNull" onclick="btnSaveEmp_Click" /></td>
        </tr>
    </table>

    

</asp:Content>
